#pragma once

#include <QtWidgets/QMainWindow>
#include "ui_TestHttp.h"

#include <QNetworkAccessManager>
#include <QNetworkReply>
#include <QNetworkRequest>

class TestHttp : public QMainWindow
{
    Q_OBJECT
private slots:
    void on_pushButton_send_clicked();
    void OnReplyFinished(QNetworkReply* reply);
public:
    TestHttp(QWidget *parent = Q_NULLPTR);
protected:
    void OnInitDialog();
private:
    Ui::TestHttpClass ui;
    QNetworkAccessManager* m_manager;
};
